WorkflowMetricsDashboard
A live dashboard for ValkyrAI workflow metrics sourced from Spring Boot Actuator.
Backend Requirements
- Actuator enabled (already included in the project)
- Custom endpoint
GET /actuator/workflowMetricsprovided byWorkflowMetricsEndpoint - Metrics recorded via
@WorkflowMonitoringandWorkflowMetricsAspect
Usage
import WorkflowMetricsDashboard from "@valkyr/components/WorkflowMetricsDashboard/WorkflowMetricsDashboard";
export default function OpsPage() {
return <WorkflowMetricsDashboard />;
}
What It Shows
- Top successes and failures by
class.method - Rolling list of recent error messages
- Auto-refresh every 5 seconds
Notes
- Extend via Micrometer tags to slice metrics by module class, outcome, or environment.
- Use this component alongside
/actuator/metricsand/actuator/healthfor deep ops visibility.